
#ifndef __TESTAPP_H__
#define __TESTAPP_H__

#include "../SamperHelper/SampleApp.h"
#include "Renderer/LaborTextureManager.h"

//#ifdef _WIN32
//int g_DFCP = CP_ACP;
//#else
//int g_DFCP = 0;
//
//#endif

using namespace std;
using namespace Labor;

class  CTestApp : public CSampleApp
{
	//CLTexture          *    m_pTexture;
	HBaseTexture m_hTexture;
	LaborBaseTextureMgr         *m_pTexMgr;
public:
	CTestApp();
	~CTestApp();
public :
	bool      initApp( const char* appModuleFile );

public:
	//virtual function . sub-class can override or overload this function

	virtual void            onEvent(MSG& msg);
	virtual bool            updateFrame(int passedTime);

	void initRenderData();
	void Render();

};
#endif